import { Resolver, Query } from "@nestjs/graphql";
import { SocketManager } from './socket.manager';

@Resolver('Socket')
export class SocketResolver {

    constructor(
        private manager: SocketManager
    ) { }

    @Query('socketBootstrap')
    async socketBootstrap() {
        return await this.manager.bootstrap();
    }
}
